package com.kingint.web.admin.base.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.kingint.mbg.bas.entity.BasRoomState;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 客房状态相关表 服务类
 * </p>
 *
 * @author wxh
 * @since 2020-12-21
 */
public interface BasRoomStateService extends IService<BasRoomState> {

    /**
     * 插入客房状态信息
     *
     * @param basRoomState
     * @return
     */
    int insertBasRoomStateInfo(BasRoomState basRoomState);

    /**
     * 更新客房状态信息
     * @param basRoomState
     * @return
     */
    int updateRoomStateInfo(BasRoomState basRoomState);

    /**
     * 删除对应的房态信息
     * @param id
     * @return
     */
    int deleteRoomStateInfo(Integer id);

    /**
     * 分页查询房态信息
     * @param pageNum
     * @param pageSize
     * @param basRoomState
     * @return
     */
    Object getParentBasRoomState(Integer pageNum,Integer pageSize,BasRoomState basRoomState);

}
